@layout("/common/_form.html",{js:["/assets/school/classMsg/classMsg_edit.js"]}){

<form class="layui-form" id="classMsgForm" lay-filter="classMsgForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">班级id<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="classId" name="classId" placeholder="请输入班级id" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">置顶<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="checkbox" id="topFlag" name="topFlag" lay-skin="switch" lay-verify="required" required value="0" lay-text="置顶|不置顶">
<!--                            <input id="topFlag" name="topFlag" placeholder="请输入置顶 0：置顶 1：普通" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">通知内容<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <textarea id="msg" name="msg" placeholder="请输入通知内容" type="text" class="layui-textarea" lay-verify="required" required></textarea>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">发布<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="checkbox" id="displayFlag" name="displayFlag" lay-skin="switch" lay-verify="required" required value="0" lay-text="立即发布|稍后发布">
<!--                            <input id="displayFlag" name="displayFlag" placeholder="请输入发布0 打开 1关闭" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}